﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <tank.h>
#include <QTimer>
#include <QPaintEvent>
#include <QTimerEvent>
#include <hand_keys.h>
#include <hand_keys.h>
#include <bullet.h>
#include <QDebug>
#include <map.h>
#include <gamerule.h>
#include <showui.h>
#include <setting.h>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    void Key_hand();
private:
    Ui::MainWindow *ui;
     tank *t1;
     tank *t2;
     hand_keys *key;
     Bullets *bullet;
     Map *mode;
     gamerule *rule;
     showui *set_ui;
     setting *set;
};

#endif // MAINWINDOW_H
